home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 8 / Night Owl CD-ROM (NOPV8) (Night Owl Publisher) (1993).ISO / 034a / tuthex.arj / TUTHEX8.TXT < prev   
Text File  |  1992-06-25  |  3KB  |  52 lines

  1. HEXING TUTORIAL #8 - "Hexing 101 Continued"
  2. How to color the wing panel and rear views: This is an
  3. extension of Shimizu's work on color.  As we know, color is a
  4. three byte string, with values from 00 to 3F.  00 00 00 is
  5. black, while 3F 3F 3F is white (all three values at max
  6. intensity).  The bytes are for Red, Green, Blue respectively.
  7. Therefore, 02 34 02 would be a bright green, while 02 07 02
  8. would be a dark green.  01 01 34 would be a bright blue,
  9. while 01 01 06 would be a dark blue, etc.  Three equal
  10. amounts, like 2f 2f 2f, is a shade of gray.  Now, the .INT
  11. file accesses the wing and rear corner files as discussed
  12. earlier.  Take the Bf109W.PNL file and copy it as SANDYW.PNL
  13. or whatever you'd like.  Change your mod .INT file to access
  14. it directly.  Now, the PNL files all have the "structure" of
  15. the graphics first, and at the very end of the file are two
  16. equal sections that fill in the colors for the
  17. structures(=wings, tails, etc).  These two sections are easy
  18. to spot!  The first section is the color for the early camo
  19. pattern, the second is the color for the late camo pattern.
  20. In the Bf109W.PNL, using PCTOOLS, the colors start at sector
  21. 36, offset (0074) and start again at sector 36, offset
  22. (0176).  You'll see a 00 00 00, then 01 01 01, then 04 04 04
  23. etc. These are colors of the wing view, starting with black
  24. and then dark grays.  These continue with interruption, in 3
  25. byte color strings, until you reach an area with 5 00's
  26. uninterrupted.  That's the end of that color section.  Well,
  27. the camoflage pattern on the wings can be replaced (I used 1a
  28. 1a 03 for brown, for example) a few at a time, then exit to
  29. SWOTL and see what you've done.  I normally color the early
  30. camoflage first, and leave the late section alone, so if I
  31. make mistakes I can use the codes from the late section to go
  32. back to normal.  Obviously, some things you want to leave
  33. alone, such as the grays of the cockpit structure.  But I
  34. have found that the colors that color the wing section are
  35. pretty much contiguous, so once you find a three byte string
  36. that looks like it should be green, you can change it to, say
  37. black, and see what effect it has.  Once you find the start
  38. of the wing coloring, it's easy to change them about three
  39. color strings at a time, then look at the results.  It is
  40. easy to find these "color byte" sections in every PNL file!!!
  41. Just look for the 00 00 00, 04 04 04, etc!  Once you find the
  42. section at the end of the file that has a lot of 3 bytes that
  43. repeat, you know you're there.  After all the "grays" (ie 02
  44. 02 02, 10 10 10 etc) the colors start getting mixed, ie 09 2A
  45. 24 etc which is usually the wing colors.  SPECIFICS: The
  46. actual wing camo area in the Bf109W.PNL file (early camo) is
  47. from sector 36, (00F5) to sector 36, (0133).  The tail camo
  48. area in the FW190R.PNL is from sector 35, (005F) to sector
  49. 35, (00A6).  Remember, three bytes at a time!  I hope I've
  50. made this clear, and will be happy to answer questions.  None
  51. of this would be possible without Anthony Shimizu's initial
  52. research in this area.  Thanks, Anthony!